package com.share.shareplatform.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/*
* 悬赏令商品提供者
* */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Provide {
    private Long id;
    private Long userId;
    private Long rewardId;
    private Long goodsId;
    @Length(max = 100,message = "内容过长")
    private String message;//用户备注
    private Goods goods;
    private User user;
}
